<template>
  <div class="home-wrap">
    <div class="home-left">
      <Basics></Basics>
    </div>
    <div class="home-right">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
import Basics from "./basics/Basics.vue";
export default {
  data() {
    return {};
  },
  components: {
    Basics,
  },
};
</script>

<style lang="scss">
.home-wrap {
  width: 1000px;
  height: 500px;
  margin: 20px auto;
  border: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-content: center;
  .home-left {
    width: 20%;
    height: 100%;
    background-color: rgb(84, 92, 100);
    color: #fff;
    overflow: auto;
  }
  .home-right {
    width: 79%;
    height: 100%;
    background-color: #eee;
  }
}
</style>